package com.km.team.phsystem.beans.pojo;

import java.io.Serializable;
import java.util.Date;

public class QueueInfo implements Serializable {
    private Integer id;

    private String mobile;

    private String busiType;

    private String businessName;

    private Date date;

    private Integer timeSlotId;

    private String timeSlotStartStart;

    private String timeSlotStartEnd;

    private String queueType;

    private String name;

    private String queueCode;

    private String queueStatus;

    private String notifyInfo;

    private String windowId;

    private Integer userId;

    private Integer busiCount;

    private String company;

    private String note;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getBusiType() {
        return busiType;
    }

    public void setBusiType(String busiType) {
        this.busiType = busiType == null ? null : busiType.trim();
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName == null ? null : businessName.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getTimeSlotId() {
        return timeSlotId;
    }

    public void setTimeSlotId(Integer timeSlotId) {
        this.timeSlotId = timeSlotId;
    }

    public String getTimeSlotStartStart() {
        return timeSlotStartStart;
    }

    public void setTimeSlotStartStart(String timeSlotStartStart) {
        this.timeSlotStartStart = timeSlotStartStart == null ? null : timeSlotStartStart.trim();
    }

    public String getTimeSlotStartEnd() {
        return timeSlotStartEnd;
    }

    public void setTimeSlotStartEnd(String timeSlotStartEnd) {
        this.timeSlotStartEnd = timeSlotStartEnd == null ? null : timeSlotStartEnd.trim();
    }

    public String getQueueType() {
        return queueType;
    }

    public void setQueueType(String queueType) {
        this.queueType = queueType == null ? null : queueType.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getQueueCode() {
        return queueCode;
    }

    public void setQueueCode(String queueCode) {
        this.queueCode = queueCode == null ? null : queueCode.trim();
    }

    public String getQueueStatus() {
        return queueStatus;
    }

    public void setQueueStatus(String queueStatus) {
        this.queueStatus = queueStatus == null ? null : queueStatus.trim();
    }

    public String getNotifyInfo() {
        return notifyInfo;
    }

    public void setNotifyInfo(String notifyInfo) {
        this.notifyInfo = notifyInfo == null ? null : notifyInfo.trim();
    }

    public String getWindowId() {
        return windowId;
    }

    public void setWindowId(String windowId) {
        this.windowId = windowId == null ? null : windowId.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getBusiCount() {
        return busiCount;
    }

    public void setBusiCount(Integer busiCount) {
        this.busiCount = busiCount;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        QueueInfo other = (QueueInfo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile()))
            && (this.getBusiType() == null ? other.getBusiType() == null : this.getBusiType().equals(other.getBusiType()))
            && (this.getBusinessName() == null ? other.getBusinessName() == null : this.getBusinessName().equals(other.getBusinessName()))
            && (this.getDate() == null ? other.getDate() == null : this.getDate().equals(other.getDate()))
            && (this.getTimeSlotId() == null ? other.getTimeSlotId() == null : this.getTimeSlotId().equals(other.getTimeSlotId()))
            && (this.getTimeSlotStartStart() == null ? other.getTimeSlotStartStart() == null : this.getTimeSlotStartStart().equals(other.getTimeSlotStartStart()))
            && (this.getTimeSlotStartEnd() == null ? other.getTimeSlotStartEnd() == null : this.getTimeSlotStartEnd().equals(other.getTimeSlotStartEnd()))
            && (this.getQueueType() == null ? other.getQueueType() == null : this.getQueueType().equals(other.getQueueType()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getQueueCode() == null ? other.getQueueCode() == null : this.getQueueCode().equals(other.getQueueCode()))
            && (this.getQueueStatus() == null ? other.getQueueStatus() == null : this.getQueueStatus().equals(other.getQueueStatus()))
            && (this.getNotifyInfo() == null ? other.getNotifyInfo() == null : this.getNotifyInfo().equals(other.getNotifyInfo()))
            && (this.getWindowId() == null ? other.getWindowId() == null : this.getWindowId().equals(other.getWindowId()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getBusiCount() == null ? other.getBusiCount() == null : this.getBusiCount().equals(other.getBusiCount()))
            && (this.getCompany() == null ? other.getCompany() == null : this.getCompany().equals(other.getCompany()))
            && (this.getNote() == null ? other.getNote() == null : this.getNote().equals(other.getNote()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode());
        result = prime * result + ((getBusiType() == null) ? 0 : getBusiType().hashCode());
        result = prime * result + ((getBusinessName() == null) ? 0 : getBusinessName().hashCode());
        result = prime * result + ((getDate() == null) ? 0 : getDate().hashCode());
        result = prime * result + ((getTimeSlotId() == null) ? 0 : getTimeSlotId().hashCode());
        result = prime * result + ((getTimeSlotStartStart() == null) ? 0 : getTimeSlotStartStart().hashCode());
        result = prime * result + ((getTimeSlotStartEnd() == null) ? 0 : getTimeSlotStartEnd().hashCode());
        result = prime * result + ((getQueueType() == null) ? 0 : getQueueType().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getQueueCode() == null) ? 0 : getQueueCode().hashCode());
        result = prime * result + ((getQueueStatus() == null) ? 0 : getQueueStatus().hashCode());
        result = prime * result + ((getNotifyInfo() == null) ? 0 : getNotifyInfo().hashCode());
        result = prime * result + ((getWindowId() == null) ? 0 : getWindowId().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getBusiCount() == null) ? 0 : getBusiCount().hashCode());
        result = prime * result + ((getCompany() == null) ? 0 : getCompany().hashCode());
        result = prime * result + ((getNote() == null) ? 0 : getNote().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", mobile=").append(mobile);
        sb.append(", busiType=").append(busiType);
        sb.append(", businessName=").append(businessName);
        sb.append(", date=").append(date);
        sb.append(", timeSlotId=").append(timeSlotId);
        sb.append(", timeSlotStartStart=").append(timeSlotStartStart);
        sb.append(", timeSlotStartEnd=").append(timeSlotStartEnd);
        sb.append(", queueType=").append(queueType);
        sb.append(", name=").append(name);
        sb.append(", queueCode=").append(queueCode);
        sb.append(", queueStatus=").append(queueStatus);
        sb.append(", notifyInfo=").append(notifyInfo);
        sb.append(", windowId=").append(windowId);
        sb.append(", userId=").append(userId);
        sb.append(", busiCount=").append(busiCount);
        sb.append(", company=").append(company);
        sb.append(", note=").append(note);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}